﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="News.aspx.cs" Inherits="aucn.web.au.News" MasterPageFile="~/MasterPage.Master" Title="新闻动态" %>
<%--<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="News.aspx.cs" Inherits="aucn.web.au.News" MasterPageFile="~/MasterPage.Master" Title="新闻动态" %>--%>

<%@ Register Src="ImageWithH1.ascx" TagName="ImageWithH1" TagPrefix="uc1" %>
<asp:Content runat="server" ID="ContentHolder1" ContentPlaceHolderID="ContentPlaceHolder1">

    <div class="stdlm">
    <uc1:ImageWithH1 runat="server" ID="H11" H1Content="新闻动态" ImageAltText="新闻动态 ImageUrl="~/au/images/headings/news.png" />
        <asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
            <div class="newsitem">
            <h2>
                <asp:Literal ID="Literal1" runat="server" Text='<%#Eval("Title") %>'></asp:Literal></h2>
                <h3><asp:Literal ID="Literal4" runat="server" Text='<%#Eval("SubTitle") %>'></asp:Literal></h3>
                <div>
                    日期：<asp:Literal ID="Literal3" runat="server" Text='<%#Eval("PublishDate", "{0:d}") %>'></asp:Literal><br />
                    <asp:Literal ID="Literal2" runat="server" Text='<%#aucn.web.au.code.UBB.UBBToHTML(Eval("Content").ToString()) %>'></asp:Literal>
                </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</asp:Content>
